import { ActiveBaseIcon } from "../../activity/icon/ActiveBaseIcon";
import { ResFileConst } from "../../../resource/ResFileConst";
import { RightTopLayerLine } from "../../../manager/RightTopLayerLine";
import { RightTopLayerIndex } from "../../../manager/RightTopLayerIndex";
import { Dispatcher } from "../../../../mvc/core/Dispatcher";
import { DataEvent } from "../../../events/DataEvent";
import { EventName } from "../../../mvc/EventName";
//class PloughCopyIcon
    
    export  class PloughCopyIcon extends ActiveBaseIcon
    {
        constructor(arg1: string=null)
        {
            super(arg1);
            arg1 = ResFileConst.PloughCopyOpenBtn;
            this.line = RightTopLayerLine.lineTwo;
            this.index = RightTopLayerIndex.PloughCopyIcon;
            return;
        }

        protected /* override */ onMouseClickHandler(arg1: Object /* flash.events.MouseEvent */): void
        {
            Dispatcher.dispatchEvent(new DataEvent(EventName.PloughCopyOpen));
            return;
        }
    }
